<template>
  <div>
    <h1>svg测试</h1>
    <SvgIcon name="stop" color="red" width="20px" height="20px"></SvgIcon>
  </div>
</template>

<script setup lang="ts">
import request from "@/utils/request.ts";
import { onMounted } from "vue";

onMounted(() => {
  request({
    url: "/user/login",
    method: "post",
    data: {
      userName: "admin",
      password: "123456",
    },
  }).then((res) => {
    console.log(res);
  });
});
</script>

<style scoped lang="scss">
h1 {
  color: $primary-color;
}
</style>
